import clientEnum from "./client.enum"
import ObservableFacade from "./ObservableFacade"

export default class ObservationObserverAdaptor {
  observer: ObservableFacade
  messageType: string
  constructor(e: ObservableFacade) {
    this.observer = e
    this.messageType = clientEnum.t.OBSERVATION
  }
  notify(t) {
    this.observer.observe(t)
  }
}
